Fully Qualified Name: | Laminas\ServiceManager\Factory\InvokableFactory |
Implements: | FactoryInterface |
Factory for instantiating classes with no dependencies or which accept a single array.
The InvokableFactory can be used for any class that:
It replaces the "invokables" and "invokable class" functionality of the v2 service manager.
Name | Description | Defined By |
---|---|---|
__invoke() | {@inheritDoc} | InvokableFactory |
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$container | ||
$requestedName | ||
$options |
Returns: